
<h3>Filter</h3>
							<form class="form-inline" name="MemberFilterForm" action="<?php echo controller_base_path($requestContext); ?>/Project/showmembers" method="get" >
								<input type="hidden" id="projectSid" name="projectSid" value="<?php echo $project->sid; ?>" />
								<fieldset>
									<label>Name</label>
									<input id="userName" name="userName" />
									<button type="submit" class="btn">Filter</button>
								</fieldset>
							</form>
							
							<!-- MEMBERS -->
							<h6>Members</h6>
							<hr />
							
<?php foreach ($members as $member) {?>
							<div style="width:100%; display:inline-block;">
								<a name="member_<?php echo $member->sid; ?>"></a>
								<img src="<?php echo profile_img_url( $member->userProfileImageSid, 40) ?>" style="float:left; padding:5px">
								<div style="margin-right:50px"><b><?php echo $member->userDisplayName; ?></b><br />
									<?php echo $member->profileHighlight; ?> <br/>
									Skills: <?php echo $member->profileSkillTagNamesCsv; ?> 
								</div>
							</div>
							<hr />
<?php } ?>

<?php if( sizeof($memberRequests) > 0 ) {?>
							<h6>Requested to Join</h6>
<?php foreach ($memberRequests as $memberRequest) {?>
							<div style="width:100%; display:inline-block;">
								<img src="<?php echo profile_img_url( $memberRequest->userDto->profileImageSid, 40) ?>" style="float:left; padding:5px">
								<div style="margin-right:50px"><b><?php echo $memberRequest->userDto->displayName; ?></b><br />
									<?php echo $memberRequest->profileHighlight; ?> <br/>
									Skills: <?php echo $member->profileSkillTagNamesCsv; ?> 
								</div>
								<div style="float:right"><a href="<?php echo controller_base_path($requestContext); ?>/Project/respondrequest?requestUuid=<?php echo $memberRequest->uuid; ?>&action=a&reason=">Accept</a></div>
							</div>
							<hr />
<?php 
	}
} 
?>							

										
<?php if( sizeof($invited) > 0 ) {?>
							<h6>Invited</h6>
							<hr />
<?php foreach ($invited as $memberRequest) {?>
							<div style="width:100%; display:inline-block;">
								<img src="<?php echo profile_img_url( $memberRequest->userDto->profileImageSid, 40) ?>" style="float:left; padding:5px">
								<div style="margin-right:50px"><b><?php echo $memberRequest->userDto->displayName; ?></b><br />
									<?php echo $memberRequest->profileHighlight; ?>
									Skills: <?php echo $member->profileSkillTagNamesCsv; ?> 
								</div>
								<div style="float:right"><a href="<?php echo controller_base_path($requestContext); ?>/Project/respondrequest?requestUuid=<?php echo $memberRequest->uuid; ?>&action=a&reason=">Accept</a></div>
							</div>
							<hr />
<?php 
	}
} 
?>

							<h6>Invited Email</h6>
							<form class="form-inline" name="InviteEmailForm" action="<?php echo controller_base_path($requestContext); ?>/Project/inviteemails" method="post" >
								<input type="hidden" id="projectSid" name="projectSid" value="<?php echo $project->sid; ?>" />
								<fieldset>
									<label>Emails separated by comma</label>
									<input id="emails" name="emails" />
									<button type="submit" class="btn">Invite</button>
								</fieldset>
							</form>
							<hr />
<?php if( sizeof($invitedEmails) > 0 ) {?>
<?php foreach ($invitedEmails as $invitation) {?>
							<div style="width:100%; display:inline-block;">
								<div style="margin-right:50px"><b><?php echo $invitation->inviteeEmail; ?></b><br />
								</div>
								<div style="float:right"><a href="<?php echo controller_base_path($requestContext); ?>/Project/removeinviteemail?invitationUuid=<?php echo $invitation->uuid; ?>&action=a&reason=">Remove</a></div>
							</div>
							<hr />
<?php 
	}
} 
?>
